Created JIT addon for OneLogin GRC#64
Open
VVargaOI wants to merge 40 commits intoOneIdentity:masterfrom
Open
Conversation
In OneLogin, a successful response for the API call of adding the user into a role does not mean that the assignment is active. Extra check needs to be added
Default retry interval is 5s, there is no timeout
pcitures added
adding pictures
adding pitcures
| }, { | ||
| "ForEach": { | ||
| "CollectionName": "PrivilegeGroupMembership", | ||
| "ElementName": "role", |
There was a problem hiding this comment.
Do you know if, similar to what is done in the AssignRoles function, does the user have to be "active" in order to assign or unassign them from a role? In other words, will the OneLogin API throw an error is the user is inactive? Or is that check in the AssignRoles function just a self imposed restriction?
Contributor
Author
There was a problem hiding this comment.
Assigning roles to inactive users in OneLogin is possible. However, in case a OneLogin role subsequently triggered the provisioning of the inactive OneLogin user into the final target system that was causing problems inside OneLogin.
Kevin-Andrew
previously approved these changes
Feb 27, 2026
Kevin-Andrew
left a comment
There was a problem hiding this comment.
Approved for demo and testing purposes now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This new HTTP scripts implements Enable/Disable and Elevate/Demote OneLogin accounts. It should be used alongside other Asset/Accounts managins the actual password, either being an Other Asset managed by OneLogin GRC, or alternatively the Starling Connect based OneLogin Asset, or an AD Asset (where OneLogin synchronizes Account information from AD) .
There is also a .ps1 script which can be used for testing CustomPlatform connectors.